using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.CompilerServices;
using Newtonsoft.Json.Schema;

namespace ns21
{
	internal class Class124
	{
		[CompilerGenerated]
		private string string_0;

		[CompilerGenerated]
		private ReadOnlyCollection<JsonSchema> readOnlyCollection_0;

		[CompilerGenerated]
		private Dictionary<string, Class124> dictionary_0;

		[CompilerGenerated]
		private Dictionary<string, Class124> dictionary_1;

		[CompilerGenerated]
		private List<Class124> list_0;

		[CompilerGenerated]
		private Class124 class124_0;

		[CompilerGenerated]
		private Class124 class124_1;

		[CompilerGenerated]
		private static Func<JsonSchema, string> func_0;

		[CompilerGenerated]
		private static Func<string, string> func_1;

		public string String_0
		{
			[CompilerGenerated]
			get
			{
				return string_0;
			}
			[CompilerGenerated]
			private set
			{
				string_0 = value;
			}
		}

		public ReadOnlyCollection<JsonSchema> ReadOnlyCollection_0
		{
			[CompilerGenerated]
			get
			{
				return readOnlyCollection_0;
			}
			[CompilerGenerated]
			private set
			{
				readOnlyCollection_0 = value;
			}
		}

		public Dictionary<string, Class124> Dictionary_0
		{
			[CompilerGenerated]
			get
			{
				return dictionary_0;
			}
			[CompilerGenerated]
			private set
			{
				dictionary_0 = value;
			}
		}

		public Dictionary<string, Class124> Dictionary_1
		{
			[CompilerGenerated]
			get
			{
				return dictionary_1;
			}
			[CompilerGenerated]
			private set
			{
				dictionary_1 = value;
			}
		}

		public List<Class124> List_0
		{
			[CompilerGenerated]
			get
			{
				return list_0;
			}
			[CompilerGenerated]
			private set
			{
				list_0 = value;
			}
		}

		public Class124 Class124_0
		{
			[CompilerGenerated]
			get
			{
				return class124_0;
			}
			[CompilerGenerated]
			set
			{
				class124_0 = value;
			}
		}

		public Class124 Class124_1
		{
			[CompilerGenerated]
			get
			{
				return class124_1;
			}
			[CompilerGenerated]
			set
			{
				class124_1 = value;
			}
		}

		public Class124(JsonSchema schema)
		{
			ReadOnlyCollection_0 = new ReadOnlyCollection<JsonSchema>(new JsonSchema[1] { schema });
			Dictionary_0 = new Dictionary<string, Class124>();
			Dictionary_1 = new Dictionary<string, Class124>();
			List_0 = new List<Class124>();
			String_0 = smethod_0(ReadOnlyCollection_0);
		}

		private Class124(Class124 source, JsonSchema schema)
		{
			ReadOnlyCollection_0 = new ReadOnlyCollection<JsonSchema>(source.ReadOnlyCollection_0.Union(new JsonSchema[1] { schema }).ToList());
			Dictionary_0 = new Dictionary<string, Class124>(source.Dictionary_0);
			Dictionary_1 = new Dictionary<string, Class124>(source.Dictionary_1);
			List_0 = new List<Class124>(source.List_0);
			Class124_0 = source.Class124_0;
			Class124_1 = source.Class124_1;
			String_0 = smethod_0(ReadOnlyCollection_0);
		}

		public Class124 method_0(JsonSchema jsonSchema_0)
		{
			return new Class124(this, jsonSchema_0);
		}

		public static string smethod_0(IEnumerable<JsonSchema> ienumerable_0)
		{
			return string.Join("-", ienumerable_0.Select((JsonSchema jsonSchema_0) => jsonSchema_0.String_1).OrderBy((string string_1) => string_1, StringComparer.Ordinal).ToArray());
		}

		[CompilerGenerated]
		private static string smethod_1(JsonSchema jsonSchema_0)
		{
			return jsonSchema_0.String_1;
		}

		[CompilerGenerated]
		private static string smethod_2(string string_1)
		{
			return string_1;
		}
	}
}
